﻿<Application 
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:ControlsData="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input" 
	xmlns:VMLocator="clr-namespace:RIBA.VMLocator" 
	xmlns:web="clr-namespace:RIBA.Web" xmlns:Helper="clr-namespace:RIBA.Helper" x:Class="RIBA.App"
>
	<Application.Resources>
		<ResourceDictionary>
			<ResourceDictionary.MergedDictionaries>
				<ResourceDictionary>
					<Helper:WebContextWrapper x:Key="App_WebContextWrapper" />
					
					<web:TextResWrapper x:Key="App_TextResourceWrapper" />
					
					<VMLocator:ViewModelLocator x:Key="App_ViewModelLocator" />
					<VMLocator:ViewModelNameToViewModelConverter x:Key="App_ViewModelNameToViewModelConverter" />

					<Style x:Key="App_LabelStyle" TargetType="ControlsData:Label">
						<Setter Property="Width" Value="80"></Setter>
					</Style>
				</ResourceDictionary>

				<ResourceDictionary Source="Helper/StyleDictionary.xaml" />
			</ResourceDictionary.MergedDictionaries>
		</ResourceDictionary>
	</Application.Resources>
</Application>
